Latest Blog

Configuring i3 window manager

i3 window manager configuration:

  • Edit the .config/i3/config file ```

    This file has been auto-generated by i3-config-wizard(1).

    It will not be overwritten, so edit it as you like.

    #

    Should you change your keyboard layout some time, delete

    this file and re-run i3-config-wizard(1).

    #

5 Jul 2018 Ujjal Kumar Das
Configuring my VIM Editor

Configure VIM:

  • Clone .vim from github
    • git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  • Add the following in your .vimrc file in ~ path ``` set nocompatible “ be iMproved, required filetype off “ required

4 Jul 2018 Ujjal Kumar Das
Storing function arguments

How function arguments are stored in stack in C/C++ programming

Let’s declare a function -
``` // Function Definition int function(int a, int b){ // Do some stuff return 0; }

21 Dec 2017 Ujjal Kumar Das
Inequality

No of solutions of an inequality

19 Dec 2017 Ujjal Kumar Das
Switching to console

How to switched from GUI to console mode:

  • Edit the grub file in /etc/default/ location
    • Press ctrl + alt + T to open terminal
    • Type sudo vi /ect/default/grub and change the following
    • Comment the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" by adding a # at the beginning of the line
    • Change the line GRUB_CMDLINE_LINUX="" to GRUB_CMDLINE_LINUX="text"
    • Uncomment the line #GRUB_TERMINAL=console by removing # at the beginning
    • The above change will look like

    • vi editor

    • Save the file grub by esc then :wq
    • Now go to terminal and type sudo update-grub
  • Finally change the symlink of Systemd default.target from graphical.target to multi-user.target
    • To do the above type sudo systemctl set-default multi-user.target
    • You can conform it by typing sudo systemctl get-default
    • Now reboot the system

10 Dec 2017 Ujjal Kumar Das
My first Jekyll blog on Github pages

I just spent one day building this blog with Jekyll and github page and it’s now up. Many thanks to Jalpc Jekyll Blog which I blatantly git cloned and tweaked to avoid building from scratch. It’s actually pretty great looking!

23 Nov 2017 Ujjal Kumar Das